package com.example.video.service;

import com.example.video.entity.VideoLog;

import java.util.List;

/**
 * @author qiusuyang
 * @since 2024-04-13
 */
public interface IVideoLogService {

    List<VideoLog> getList(Integer page, Integer size);
    VideoLog getItem(Integer id);
    boolean save(VideoLog item);
    boolean delete(Integer id);


    List<VideoLog> getAll();

    List<VideoLog> getListByVideoId(Integer videoId);

    List<VideoLog> getListByDeviceId(String deviceId);

    void deleteListByVideoId(Integer id);
}
